package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/AssetDisposal.class */
public class AssetDisposal {
    private Integer id;
    private Integer type;
    private String assetDisposalName;
    private String createTime;
    private Integer userId;
    private String userName;
    private Integer assetsId;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setAssetDisposalName(String assetDisposalName) {
        this.assetDisposalName = assetDisposalName;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setAssetsId(Integer assetsId) {
        this.assetsId = assetsId;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof AssetDisposal)) {
            return false;
        }
        AssetDisposal other = (AssetDisposal) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$type = getType();
        Object other$type = other.getType();
        if (this$type == null) {
            if (other$type != null) {
                return false;
            }
        } else if (!this$type.equals(other$type)) {
            return false;
        }
        Object this$assetDisposalName = getAssetDisposalName();
        Object other$assetDisposalName = other.getAssetDisposalName();
        if (this$assetDisposalName == null) {
            if (other$assetDisposalName != null) {
                return false;
            }
        } else if (!this$assetDisposalName.equals(other$assetDisposalName)) {
            return false;
        }
        Object this$createTime = getCreateTime();
        Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime != null) {
                return false;
            }
        } else if (!this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$userId = getUserId();
        Object other$userId = other.getUserId();
        if (this$userId == null) {
            if (other$userId != null) {
                return false;
            }
        } else if (!this$userId.equals(other$userId)) {
            return false;
        }
        Object this$userName = getUserName();
        Object other$userName = other.getUserName();
        if (this$userName == null) {
            if (other$userName != null) {
                return false;
            }
        } else if (!this$userName.equals(other$userName)) {
            return false;
        }
        Object this$assetsId = getAssetsId();
        Object other$assetsId = other.getAssetsId();
        return this$assetsId == null ? other$assetsId == null : this$assetsId.equals(other$assetsId);
    }

    protected boolean canEqual(Object other) {
        return other instanceof AssetDisposal;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $type = getType();
        int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode());
        Object $assetDisposalName = getAssetDisposalName();
        int result3 = (result2 * 59) + ($assetDisposalName == null ? 43 : $assetDisposalName.hashCode());
        Object $createTime = getCreateTime();
        int result4 = (result3 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
        Object $userId = getUserId();
        int result5 = (result4 * 59) + ($userId == null ? 43 : $userId.hashCode());
        Object $userName = getUserName();
        int result6 = (result5 * 59) + ($userName == null ? 43 : $userName.hashCode());
        Object $assetsId = getAssetsId();
        return (result6 * 59) + ($assetsId == null ? 43 : $assetsId.hashCode());
    }

    public String toString() {
        return "AssetDisposal(id=" + getId() + ", type=" + getType() + ", assetDisposalName=" + getAssetDisposalName() + ", createTime=" + getCreateTime() + ", userId=" + getUserId() + ", userName=" + getUserName() + ", assetsId=" + getAssetsId() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public Integer getType() {
        return this.type;
    }

    public String getAssetDisposalName() {
        return this.assetDisposalName;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public Integer getUserId() {
        return this.userId;
    }

    public String getUserName() {
        return this.userName;
    }

    public Integer getAssetsId() {
        return this.assetsId;
    }
}